//
//  ShopsCollectionViewCell.m
//  Jewelry
//
//  Created by HJ on 2017/1/6.
//  Copyright © 2017年 HJ. All rights reserved.
//

#import "ShopsCollectionViewCell.h"

@implementation ShopsCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    //self.headImg.contentMode=UIViewContentModeScaleAspectFit;
    // Initialization code
}
/*
 @property (weak, nonatomic) IBOutlet UIImageView * headImg;
 @property (weak, nonatomic) IBOutlet UILabel     *titleLabel;
 @property (weak, nonatomic) IBOutlet UILabel     *moneyLabel;
 @property (weak, nonatomic) IBOutlet UILabel     *stateLabel;
 
 @property (nonatomic,strong)NSString *fixedPrice;
 @property (nonatomic,strong)NSString *imageUrl;
 @property (nonatomic,assign)NSInteger skuId;
 @property (nonatomic,strong)NSString *title;
 */

-(void)setModel:(HomeGoodInfoModel *)model
{
	_model = model;
	[self.headImg sd_setImageWithURL:[NSURL URLWithString:model.imageUrl] placeholderImage:[UIImage imageNamed:@""]];
	self.titleLabel.text = model.title;
	self.moneyLabel.text = [NSString stringWithFormat:@"¥%@",model.fixedPrice];
	self.stateLabel.text = [NSString stringWithFormat:@"月销量："];
}

@end
